package web.suzy.oj.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * YangSuzy 软件工作室
 * 类名: ProblemCountVO
 * 描述: 题目提交次数统计视图对象
 * 功能: VO (View Object)用于表示一个与前端进行交互的视图对象
 *
 * @author YangSuzy
 * Date: 2022/11/20 13:31
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "题目提交统计次数对象ProblemCountVO")
public class ProblemCountVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题目id")
    private Long pid;

    @ApiModelProperty(value = "该题总提交数")
    private Integer total;

    @ApiModelProperty(value = "通过提交数")
    private Integer ac;

    @ApiModelProperty(value = "空间超限")
    private Integer mle;

    @ApiModelProperty(value = "时间超限")
    private Integer tle;

    @ApiModelProperty(value = "运行错误")
    private Integer re;

    @ApiModelProperty(value = "格式错误")
    private Integer pe;

    @ApiModelProperty(value = "编译错误")
    private Integer ce;

    @ApiModelProperty(value = "答案错误")
    private Integer wa;

    @ApiModelProperty(value = "系统错误")
    private Integer se;

    @ApiModelProperty(value = "部分通过，OI题目")
    private Integer pa;
}
